#include<iostream>
using namespace std;

int main()
{
	int num1 = 0;
	short num2 = 0;
	cin >> num1 >> num2;
	cout << sizeof(int) << " " << sizeof(short) << endl;
	
	return 0;
}

int main3()
{
	int a = 0, b = 0, c = 0;
	cin >> a >> b >> c;
	cout << c << " " << b << " " << a << endl;
	
	return 0;
}

int main2()
{
	int n = 0;
	cin >> n;
	char ch = n;
	cout << ch << endl;
	
	return 0;
}

int main1()
{
	int num = 0;
	cin >> num;
	cout << num << endl;
	
	return 0;
}
